package OJDemo输入输出;

import java.util.Scanner;

/**
 * @author zc
 * @version 1.0
 * @date 2021/9/7 13:14
 */
public class Main8 {

    public static void main(String[] args) {
        Scanner cin = new Scanner(System.in);
        while (cin.hasNext()){
            int ans = 0;
            String[] s = cin.nextLine().split(" ");
            for (int i = 0; i < s.length ; i++) {
                ans += Integer.parseInt(s[i]);
            }
            System.out.println(ans);
        }

    }
}
